package io.github.wslxm.springbootplus2.manage.sys.model.vo;

import io.github.wslxm.springbootplus2.core.utils.tree.BaseTree;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 编号生成表 VO
 *
 * <p>
 * ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
 * </p>

 * @author ws
 * @email 1720696548@qq.com
 * @date 2023-12-06 11:08:13
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "SysNumberVO 对象", description = "编号生成表")
public class SysNumberVO extends BaseTree<SysNumberVO,String>  {

    private static final long serialVersionUID = -1732235472606584834L;
    
    @ApiModelProperty(value = "层级 " )
    private Integer hierarchy;

    @ApiModelProperty(value = "父级 " )
    private String pid;

    @ApiModelProperty(value = "标题" )
    private String name;

    @ApiModelProperty(value = "code" )
    private String code;

    @ApiModelProperty(value = "前缀" )
    private String prefix;

    @ApiModelProperty(value = "时间格式 " )
    private String timeFormat;

    @ApiModelProperty(notes = "初始自增值 ")
    private Long initIncrement;

    @ApiModelProperty(value = "当前自增值 ")
    private Long increment;

    @ApiModelProperty(value = "自增值位数 ")
    private Integer incrementLen;

    @ApiModelProperty(notes = "最后生成key")
    private String lastKey;

    @ApiModelProperty(value = "最后生成编号" )
    private String lastNo;

    @ApiModelProperty(value = "最后生成时间" )
    private LocalDateTime lastTime;

    @ApiModelProperty(value = "编号长度 " )
    private String len;

    @ApiModelProperty(value = "备注" )
    private String remarks;

}

